
body {
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
}
#app {
    flex: 1;
    display: flex;
    flex-direction: column;

    position: relative;
}

main {
    flex: 1;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 2em;

    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 2em;
}

.footer {
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-bottom: 1em;
    transform: translate(-50%);

    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5em;

    font-size: 0.75rem;
    color: #8C8C8C;
}
.footer p {
    margin: 0;
}

.container-left,
.container-right {
    box-sizing: border-box;
    padding: 1em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.container-left {
    gap: 1em;
}

.button-create {
    width: 100%;
    font-size: large;
}
.container-left-list,
.container-right-list {
    display: flex;
    flex-direction: column;
}
.container-left-list .list-item {
    padding-left: 1em;
    border-top: 1px solid rgba(128, 128, 128, 0.25);
}
.container-left-list .list-item:hover {
    cursor: pointer;
    background-color: rgba(237, 237, 237, 0.5);
}
.container-left-list .list-item.active {
    background-color: rgba(237, 237, 237, 0.5)
}

.container-right-list .list-item {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 4px 0 #f0f0f0;
    border: 1px solid #e6e6e6;

    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 1em;
}
.container-right-list .list-item > * {
    box-sizing: border-box;
    padding: 0.5em;
}
.container-right-list .list-item > *:first-child {
    display: flex;
    justify-content: space-between;
}
.container-right-list .list-item > *:last-child {
    padding-top: 1em;
    text-align: right;
}


/* 手风琴 */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}
.accordion::after {
    content: "+";
    float: right;
    font-weight: bold;
    font-size: large;
}
.accordion:hover {
    background-color: #ccc;
}
.accordion.active::after {
    content: "-";
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-out;
}
.accordion.active + .accordion-content {
    max-height: 20rem;
}


